Visual Studio 2005


It is extremely easy to add a reference to the Validate Web Service using Visual Studio 2005. If you haven’t added a SOAP based web service before then the process is very similar to adding a reference to say a DLL. Once you have added a reference to the Web Service, all of the exposed Validate methods will be available from within your project and fully integrated with Intellisense.

Step 1
Start Visual Studio 2005

 

Step 2

Start a new project. You can choose any type of project for either c# or vb.net as the process is the same across all .net languages and project types.

 

Step 3

From the Project Menu choose 'Add Web Reference...'. The Add Web Reference dialog box will open.

 

Step 4
In the URL text box add the URL of the Validate Web Service. This will have been supplied to you by Barron McCann when you joined the service.
Click go and a preview of the service will be shown.

In the box marked 'Web Reference Name', change the text to 'validate'.  You do not have to do this but it does make your subsequent code more readable and all the samples in the Validate API SDK rename the service name in this way.

 

Step 5

Press 'Add Reference' button to add the Validate Web Service reference to your project. You will see the reference added to the Solution Explorer under 'Web References'.